Skip to content

Clarify file path syntax for ..#67

Open
TobiasNx wants to merge 1 commit into
masterfrom
filePathSyntaxWith
Open

Clarify file path syntax for ..#67
TobiasNx wants to merge 1 commit into
masterfrom
filePathSyntaxWith

Conversation

@TobiasNx
Copy link
Copy Markdown
Collaborator

No description provided.

#### File paths

Some Fix functions can refer to files on your system. Paths are by default relative to the current working directory. Paths can always be stated in UNIX style - even when running Metafacture under Windows. If using Windows style you have to escape the backslashes (`C:\my\path` > `C:\\my\\path`). If you want to address files relative to the Fix file add `.` as directory (`./myFile`). To address files relative to the location of the executed Flux file, use the predefined `FLUX_DIR` variable, but you need to add the `*` to the `fix` command in the Flux (see above). You can also use `..` for the parent directory.
Some Fix functions can refer to files on your system. Paths are by default relative to the current working directory. Paths can always be stated in UNIX style - even when running Metafacture under Windows. If using Windows style you have to escape the backslashes (`C:\my\path` > `C:\\my\\path`). If you want to address files relative to the Fix file add `.` as directory (`./myFile`). To address files relative to the location of the executed Flux file, use the predefined `FLUX_DIR` variable, but you need to add the `*` to the `fix` command in the Flux (see above). You can also use `..` for the parent directory. At the beginning `..` is relative to the Fix file and can be used multiple times in order to relate to parent directories of parent directories (`../../myFile` relates to a file two parent directories up from the fix file.)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Some Fix functions can refer to files on your system. Paths are by default relative to the current working directory. Paths can always be stated in UNIX style - even when running Metafacture under Windows. If using Windows style you have to escape the backslashes (`C:\my\path` > `C:\\my\\path`). If you want to address files relative to the Fix file add `.` as directory (`./myFile`). To address files relative to the location of the executed Flux file, use the predefined `FLUX_DIR` variable, but you need to add the `*` to the `fix` command in the Flux (see above). You can also use `..` for the parent directory. At the beginning `..` is relative to the Fix file and can be used multiple times in order to relate to parent directories of parent directories (`../../myFile` relates to a file two parent directories up from the fix file.)
Some Fix functions can refer to files on your system. Paths are by default relative to the current working directory. Paths can always be stated in UNIX style - even when running Metafacture under Windows. If using Windows style, you have to escape the backslashes (`C:\my\path` > `C:\\my\\path`). If you want to address files relative to the Fix file, add `.` as directory (`./myFile`). To address files relative to the location of the executed Flux file, use the predefined `FLUX_DIR` variable, but you need to add the `*` to the `fix` command in the Flux (see above). You can also use `..` for the Fix file's parent directory (can be used multiple times in order to refer to parent directories of parent directories, e.g. `../../myFile` refers to a file two parent directories up from the Fix file).

@blackwinter blackwinter assigned TobiasNx and unassigned blackwinter Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants